import {
    Login,
    NotFound,
    AddClient,
    BusinessManagement,
    ClientDetails,
    ClientList,
    ClientMsgStatistics,
    History,
    Home,
    Person,
    PersonMsg,
    Settings,
    TaskList
} from '../views'

 import ProfileEditor from '../views/PersonMsg/ProfileEditor' // 个人资料编辑
 import PhotoWall from '../views/SystemSettings/PhotoWall' 
 import AddTask from '../views/TaskCenter/AddTask'  // 新增任务
 import MyLog from '../views/TaskCenter/MyLog'   // 我的日志
 import MySchedule from '../views/TaskCenter/MySchedule'   // 我的日程
 import RemindRecord from '../views/TaskCenter/RemindRecord'  // 提醒记录

 // 不需要权限的路径
export const mainRoutes =[
   
    {
        path:'/login',
        component:Login
    },
    {
        path:'/404',
        component:NotFound 
    }
]

// 需要权限的路径
export const adminRoutes = [
    {
        path:'/admin/addClient',
        component:AddClient 
    },
    {
        path:'/admin/businessManagement',
        component:BusinessManagement 
    },
    {
        path:'/admin/clientDetails',
        component:ClientDetails 
    },
    {
        path:'/admin/clientList',
        component:ClientList 
    },
    {
        path:'/admin/clientMsgStatistics',
        component:ClientMsgStatistics 
    },
    {
        path:'/admin/history',
        component:History 
    },
    {
        path:'/admin/home',
        component:Home 
    },
    {
        path:'/admin/person',
        component:Person 
    },
    {
        path:'/admin/personMsg',
        component:PersonMsg 
    },  
    {
        path:'/admin/profileEditor',
        component:ProfileEditor 
    },
    {
        path:'/admin/settings',
        component:Settings 
    }, 
    {
        path:'/admin/photoWall',
        component:PhotoWall 
    },
    {
        path:'admin/taskList',
        component:TaskList 
    },
    {
        path:'/admin/addTask',
        component:AddTask 
    },
    {
        path:'/admin/myLog',
        component:MyLog 
    },
    {
        path:'/admin/mySchedule',
        component:MySchedule 
    },
    {
        path:'/admin/remindRecord',
        component:RemindRecord 
    }
    
]